// 
// @Auther: by wujehy
// @Email:wujehy@qq.com
// @Data:2021/2/17.
// @Time:下午2:22.
// 
//

#ifndef FLUTTER_FFI_SDK_CLIENTAPP_H
#define FLUTTER_FFI_SDK_CLIENTAPP_H

#include "Base.h"
#include "BaseDartAPI.h"

APICORE void ClientApp_init(Dart_Port callbackPort, int status);
APICORE void ClientApp_deinit(Dart_Port callbackPort);

APICORE void ClientApp_getStatus(Dart_Port callbackPort);
// 基本键值对 , 统一用 bytes 储存
APICORE void ClientApp_setBaseKey(Dart_Port callbackPort , const char* key ,  const char* data , int  data_len);
APICORE void ClientApp_delBaseKey(Dart_Port callbackPort,  const char* key );
APICORE void ClientApp_getBaseKey(Dart_Port callbackPort, const char* key );

#endif //FLUTTER_FFI_SDK_CLIENTAPP_H
